* {
    margin: 0;
    padding: 0;
}

html, body, .mainWrapper {
    background: #6B6B6B;
    font-family: Helvetica, Arial, sans-serif;
    height: 100%;
}

.mainHeader, .mainFooter {
    background-color: #222;
    color: #f7f8fa;
}

/* Header */
.mainHeader {
    height: 140px;
}

/*  Content */
.content {
    background: url("../photos/DSC_0143.jpg") no-repeat;
    background-size: cover;
    height: calc(100% - 140px - 60px - 30px); /*body height (100%) - height of header (140px) - footer height (60px) - content padding (50px)*/
    margin: 0 auto;
    min-height:485px;
    padding: 15px 0;
}

/*  Begining of Registration Form */
#formWrapper { /*  #formWrapper */
    background-color: rgba(34,34,34, 0.75);
    border: 1px solid black;
    border-radius: 10px;
    color: #f7f8fa;
    margin: 0 auto;
    padding: 20px;
    width: 350px;
}

#registrationForm {
    margin:20px 20px 0 20px;
}

.closeRegistrationForm {
    float:right;
    height: 30px;
    width: 30px;
}

.inputArea {
    height: 70px;
}

.textBeforeInput {
    display: inline-block;
    width: 30%;
}

.registrationInputs {
    background-color: rgba(218,218,218, 0.45);
    border: 1px solid #2F2F2F;
    border-radius: 2px;
    color: #FFFFFF;
    font-size: 0.85em;
    padding: 7px;
    width: 190px;
}

.registrationInputs:hover {
    border: 1px solid #A9A9A9;
}

.registrationInputs:focus {
    border: 1px solid #A9A9A9;
}

.helperInput, .errorMessage {
    color: #C4C4C4;
    display: block;
    font-size: 0.72em;
    font-style: italic;
    margin-left: 32%;
}

.errorMessage {
    color: #F90000;
    font-size: 0.9em;
}

.registrationSubmit {
    background-color: rgba(47,47,47, 0.7);
    border: 2px solid #A9A9A4;
    border-radius: 5px;
    color: #f7f8fa;
    display: block;
    font-size: 1.3em;
    letter-spacing: 1px;
    margin: 15px auto;
    padding: 5px;
    text-decoration:none;
    width: 150px;
}

.registrationSubmit:hover {
    background-color: rgba(122,122,122, 0.9);
    cursor:pointer;
}
.registrationSubmit:active {
    background-color: rgba(122,122,122, 0.1);
}

.registerUser {
    color: #D0D0D0;
    margin: 5px;
    padding: 8px;
    text-align: center;
}

.registerUser a {
    color: #D0D0D0;
    font-weight: bold;
    font-size: 1.15em;
}

.registerUser a:hover {
    color: #FFFFFF;
    text-decoration: none;
}


/*  End of Login Form */

/*  Footer */
.mainFooter {
    height: 60px;
}


.defaultButton {
    width: 120px;
    height: 32px;
    padding: 0 0 2px;
    outline: none;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
    color: #555;
    font-size: 16px;
    text-shadow: 2px 2px #d6d6d6;
    border: 1px solid #959595;
    border-top: 1px solid #B4B4B4;
    border-bottom: 1px solid #7B7B7B;
    box-shadow:
        inset 2px 2px #E3E3E3,
        inset 1px 0 #CECECE,
        inset -1px 0 #CECECE,
        inset 0 -1px #BDBDBD,
        0 2px #878787,
        0 3px #7B7B7B,
        0 4px 2px rgba(0,0,0,0.4)

    ;
    background: -moz-linear-gradient(top,  #d1d1d1 0%, #afafaf 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d1d1d1), color-stop(100%,#afafaf)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #d1d1d1 0%,#afafaf 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #d1d1d1 0%,#afafaf 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #d1d1d1 0%,#afafaf 100%); /* IE10+ */
    background: linear-gradient(top,  #d1d1d1 0%,#afafaf 100%); 
    background-color: #C0C0C0;
}
.defaultButton:hover {
    border-top: 1px solid #A2A2A2;
    box-shadow:
        inset 2px 2px #D4D4D4,
        inset 1px 0 #CECECE,
        inset -1px 0 #CECECE,
        inset 0 -1px #CECECE,
        0 2px #878787,
        0 3px #7B7B7B,
        0 4px 2px rgba(0,0,0,0.4)
    ;
    background: -moz-linear-gradient(top,  #b7b7b7 0%, #c2c2c2 100%); 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b7b7b7), color-stop(100%,#c2c2c2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #b7b7b7 0%,#c2c2c2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #b7b7b7 0%,#c2c2c2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #b7b7b7 0%,#c2c2c2 100%); /* IE10+ */
    background: linear-gradient(top,  #b7b7b7 0%,#c2c2c2 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b7b7b7', endColorstr='#c2c2c2',GradientType=0 ); /* IE6-9 */
    background-color: #C0C0C0;
}
.defaultButton:active {
    top: 3px;
    border: 1px solid #88A84E;
    border-top: 1px solid #6E883F;
    border-bottom: 1px solid #95B855;
    background: #A7CF5F;
    box-shadow: inset 0 1px 2px #779441;
}
